-
Notifications
You must be signed in to change notification settings - Fork 8
[scripts] Add option to display reference state along the simulation to visually compare them #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…(which could have been easier...)
7bcc23a to
f9d126c
Compare
| counter = 0 | ||
| for meca_obj in self.meca_objs: | ||
| _filename = self.file_ref_path + ".reference_" + str(counter) + "_" + meca_obj.name.value + "_mstate" + ".txt.gz" | ||
| #_filename = self.file_ref_path + ".reference_" + str(counter) + "_" + meca_obj.name.value + "_mstate" + ".txt.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| #_filename = self.file_ref_path + ".reference_" + str(counter) + "_" + meca_obj.name.value + "_mstate" + ".txt.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to keep this one, I added a comment above why
| Sofa.Gui.GUIManager.Init("myscene", "imgui") | ||
| Sofa.Gui.GUIManager.createGUI(self.root_node, __file__) | ||
| Sofa.Gui.GUIManager.SetDimension(1080, 1080) | ||
| Sofa.Gui.GUIManager.SetDimension(1920, 1080) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this necessary ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no idea it is a copy past from other projects
e335a81 to
a614f06
Compare
based on PR #69
reference is display as a green cloud point
SOFARegressionSceneData.mp4